Avoid conflicts between similar bits of map javascript

(which only show up when the assets are precompiled, as on heroku)