update dependency order in main.js for r.js optimizer