Added string escapes in l10.js (fixes #1295)