revert back changes in js files