Print out the input with JavaScript escape codes for all but the simplest characters.