Definition of vc globally

Change-Id: Ia4e88e432937f6e3354087b8fa93f2fd5f87a262
diff --git a/dev/js/src/init.js b/dev/js/src/init.js
index 1666588..e2d89b9 100644
--- a/dev/js/src/init.js
+++ b/dev/js/src/init.js
@@ -61,6 +61,8 @@
     );
   };
 
+  KorAP.vc = vcClass.create(vcArray); 
+  
   domReady(function (event) {
     var obj = {};
 
@@ -87,7 +89,7 @@
     var vcname, vcchoose;
     var input = d.getElementById('collection');
 
-    var vc = vcClass.create(vcArray);
+    var vc = KorAP.vc;
 
     // Add vc name object
     if (input) {