added comments to map.js and cleaned up indentations
Merge pull request #7 from mplaza/paulbranch

added comments to map.js and cleaned up indentations