[sync] Fix # 175 regression, js freeze on incomplete strings
https://github.com/einars/js-beautify/commit/a3a091c8c1dc7647df5a01dfbc0cf4c6ac8cd0e2