revert js script for height