finaly rewrite in coffee map.js @BOOtak