PhantomJS doc fixes