Modify tab-exchange js