add map
fix coffeescript and js