added Facebook shim that enables PhantomJS tests to run against React