Add javascript to make tabs work.