javascript in app.hmtl.erb