Rewrote instamap.js to CoffeeScript