use bind library

because phantomjs doesn't have `Function#bind`.

It would be great if you merged either this or #3.