learning basics of form javascript re-commit