Add function.bind polyfill for phantomjs