Function addDocumentHighlightsHandler