Update front/js/main.js

sdf