Tabs init

Ideally, this class would be more reusable and not depend on variables in the global scope. I'd do this by referring to this.props.tabNames and this.props.tabContents inside the React class.

You could then specify the values of those props when you do the React.render call. It'd be okay to use variables in the global scope there. For example:

Ideally, this class would be more reusable and not depend on variables in the global scope. I'd do this by referring to this.props.tabNames and this.props.tabContents inside the React class.

You could then specify the values of those props when you do the React.render call. It'd be okay to use variables in the global scope there. For example:

```
React.render(
<Tabs tabNames={TabNames} tabContents={TabContents} />,
document.body
);
```

However, you may want to look at refactoring a bit so the render works as follows:

```
React.render(
<Tabs>
  <TabsHead data={TabNames} />
  <TabsBody data={TabContents} />
</Tabs>,
document.body
);
```