Convert CoffeeScript views to JavaScript to remove coffee-rails runtime dependency