Got map.js to pass JSLint