fixed tab javascript
Merge pull request #32 from Contegix/ISSUE13

Fixed the issue