Fixes tabs to work with async data, no more compile function and no more building up a model based on jquery elements.