Use es5-shim to provide support for all es5 methods

Fixes #104.