Added docs task to Gruntfile
Documented all function in map.js