Show rewrite on overview

Change-Id: I93d0a31445430ea394c058b2d7685d86f056edd4
diff --git a/dev/js/src/init.js b/dev/js/src/init.js
index 81ed093..c77b7b4 100644
--- a/dev/js/src/init.js
+++ b/dev/js/src/init.js
@@ -84,7 +84,7 @@
     /**
      * Replace Virtual Collection field
      */
-    var vcname;
+    var vcname, vcchoose;
     var input = document.getElementById('collection');
     if (input) {
       input.style.display = 'none';
@@ -97,7 +97,9 @@
         currentVC = loc.VC_oneCollection;
       };
 
-      vcname.appendChild(
+      vcchoose = vcname.appendChild(document.createElement('span'));
+
+      vcchoose.appendChild(
         document.createTextNode(
           document.getElementById('collection-name').value || currentVC
         )
@@ -332,13 +334,15 @@
       };
 
       vcname.onclick = vcclick;
+
+      // Click, if the VC should be shown
       if (show['collection']) {
         vcclick.apply();
-      };
+      }
 
-      // Check
-      if (_checkVCrewrite(vcClass)) {
-        console.log("Rewrite!");
+      // else
+      else if (_checkVCrewrite(vcClass)) {
+        vcchoose.classList.add('rewritten');
       };
     };