Migrated to CoffeeScript via using Rails