Fixing jquerify helper for phantomjs