Built the JavaScript