Example of using phantomjs webserver module