adding an option for phantomjs cookie.