Monster hack to make react work with browserify.