use coffee script instead of javaScript