AMD main.js
Removed main shim
Renamed main.js into approuter.js
Turn paginator.js into AMD
Turned paginator.js into AMD