end proc for helper method
update to latest phantomjs api