Set initial state before componentDidMount

Fixes #106

React can merge getInitialState and throws error when keys are duplicated.