Implemented basic use case using phantomjs-node