fixed a bug when opening a jqTab in a new browser tab