Update front/js/main.js

interface abstractform