Fix .bind call for PhantomJS

Function.prototype.bind does not work on phantomJS
Merge pull request #30 from andreybritto/master

Fix .bind call for PhantomJS