Fix encoding of strings from getJavaScriptStrings
Merge pull request #1442 from mlocati/fix-getJavaScriptStrings

Fix encoding of strings from getJavaScriptStrings