Shim bind() in PhantomJS, closes item:697