Screenshot as a service with phantomJS headless browser