updatef form.js to use serialize