It seems that phantomjs has an issue with `Function.prototype.bind`. I've come across this before, not sure how I resolved it that time, but seeing as this was the only place we were using `bind`, I decided to just go with the `var self = this` approach instead.