reversion js file