revert user action js callback