revert js changes.