How to call CoffeeScript functions from any View in Ruby on Rails