adding main.js with requirejs config