bugfixes: delete entries in larger docgroups, fix vcdemo

Change-Id: I76a09faafe79d0fd85efc32a8bcdec37878ba486
(cherry picked from commit 6885f6e34dd6ae2614713f86e5d28aea2ed832d8)
diff --git a/dev/demo/vcdemo.js b/dev/demo/vcdemo.js
index 4e0eaed..b9a7b1a 100644
--- a/dev/demo/vcdemo.js
+++ b/dev/demo/vcdemo.js
@@ -129,6 +129,10 @@
       ['author', 'text']
     ]).fromJson(json);
 
+    document.addEventListener('vcChange', function (e) {
+      KorAP.vc.checkStatActive(e.detail);
+      }, false);
+    
     document.getElementById('vc-view').appendChild(KorAP.vc.element());
 
     KorAP.vc.open();