update example in phantomjs