Simple screenshot implementation using PhantomJS