revert JS