add main.js to app templates/main-webApp.js
add urlBust check for reuqirejs