Separate form.js methods into sections