Update form to add and remove students via javascript