ReactJS boilerplate code with WebPack