Added es5-shim to make tests pass in PhantomJS