this can be just `this.HighlightRules = MELHighlightRules;`
https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/javascript.js#L45
perhaps you used the old version of the template