Fixed insertAfter bug: this became $tabs