Added source to log messages

Change-Id: Iacc15ff3514373814ad4f4b3de206d6a83d5338d
diff --git a/dev/js/src/util.js b/dev/js/src/util.js
index 80f6364..cb60c2a 100644
--- a/dev/js/src/util.js
+++ b/dev/js/src/util.js
@@ -99,7 +99,8 @@
 
 
   // Default log message
-  KorAP.log = KorAP.log || function (type, msg) {
+  KorAP.log = KorAP.log || function (type, msg, src) {
+    if (src) msg += ' from ' + src;
     console.log(type + ": " + msg);
   };