PhantomJs annotation improvements