Refactor map related coffeescript code