Fixed escaping in string literals and identifiers.

(When emitting the .js files.)