Annotator setup now uses document.ready