should be `getTabById: function(id) { `