Update TabbedBar.js

Old bars were failing to delete. Added .length property in the check to fix at line 87
Merge pull request #4 from Anatidae-Project/patch-1

Update TabbedBar.js