Quick fix for es5 support in older PhantomJS builds