js: cancel edit activity form