js revert