*8872* JS minify fixes
*8879* Make escaping consistent
Merge pull request #152 from asmecher/linting-fixes

*8879* Fix linting/minify problems