form js edits