Some cleanup in Tab.coffee