Move coffee script to app/assets/javascripts for rails 4.0
Get it working with Rails 4 and 3.2 (fixes #1)