Renamed back to main.js to accommodate requirejs.