Updated for Komodo 8, and with experimental emscripten target for lexer