added the javascript require back into the application.html