move map.coffee to index.coffee