Function.prototype.bind not supported by phantomjs