changed index.js.erb