add Function.bind polyfill for phantomjs