Refs #17461 - Cleanup AnnotatorPortlet JS code

- Cleanup AnnotatorPortlet JS implementation as it was moved to
  annotator repo as Errata annotator plugin.