jshint tweaks

Just enough jshint tweaking to get `Map.js` passing a lax test. Are there any plans to use jshint or something similar to keep a somewhat consistent code style?