Use a helper function instead of relying on Function.prototype.bind.

Fixes #28.
Fix tests in oldIE.

Turns out you can't delete properties of the global object there.