added yuidocs comment to map.js