add form.js to main index