update form and modify join page javascript