Polyfill Function.prototype.bind for PhantomJS

See: https://code.google.com/p/phantomjs/issues/detail?id=522