To build a custom JS file please open path/to/ace/build/js.html in your browser.