put js script in application.rb