Use es5-shim to provide support for all es5 methods

Fixes #104.
Catch all PhantomJS errors in stderr

Fixes #103.