Tested generated javascript lexer.
Merge branch 'master' into gh-pages
Fixed bugs with javascript generator.