Polyfill Function.prototype.bind

chai-as-promised requires a polyfill in browsers without `Function.prototype.bind`, including PhantomJS