Clean up coffeescript and helpers