Removed bootstrap.tab.js and changed var declarations to public and public'd some functions