Reverting JS