added PhantomJS fix for React.js