Rails javascripts used