fix external bundle of grammar.js