add: requireJS
add: text.js to require non js files ; add: remote templates ; add: static model for navbar