moved Backbone code from index.html to js directory and added AMD/RequireJS