create maps.js.coffee and move maps codes from events.js.coffee to maps.js.coffee