revert back js file