Configures main.js for requirejs and handlebarsjs