Update app.js

Fix the "first tab selection process" with multiple tabgroups in the same page.
Merge pull request #70 from diraimondo/master

Support for multiple tabgroups in the same page