revert js file