use new jquery api to add new tabs. If no tab is selected, select the first one
Merge pull request #11 from javierdallamore/master

new jquery api to add tabs