final js resend with tabs deleted