bind for phantomjs
npm install pbind
Because phantomjs fails if you use bind without it
``bash$ npm install pbind`
bash$ npm install pbind
`jsrequire('pbind') // at top of file``
jsrequire('pbind') // at top of file
The original code is in the public domain.