Create main.js

requireJS dependencies loaded (in correct order)