Update core.js.erb