PhantomJS Java DOM Builder