Reverting JS deletion (need for tabs)