Got tests running in PhantomJS by adding shim for it