fix issue with default loader and react 0.11