Cleaned up map.js to use jsdoc format