cleaned up index.js.erb