revert js change