I don't think this is the right place to put this. Plus, it adds more code to the already huge raml-editor-main.js