revert js back