Update public/javascripts/main.js