Update public/static/js/main.js