rewrote tab implementation using coffeescript and changed to use options instead of just title and content