Upgrading javascript editor to use custom version with ES6 validator