make bootstrab tabs working with ajax