adding comments to map.js
changed handlebars file to include erb, fixed page load function and requiring tree in application.js