add js/models/Tab.js and implemented