refactor in show mapbox with coffescript