maps.js converted to CoffeeScript