NXP-9673: handle ajaxified tabs switching and subtabs