Update front/js/main.js

dfg