Update front/js/main.js

sd