fixed encoding issues in js gherkin

Hi, this should fix #225, please refer there for details.

I added a simple testcase for the generated JS-Lexer, see js/test/test.de.js.

This is my very first github contribution, please let me know if I messed up anything.