Fixed text sigle legacy support

Change-Id: I227b855b80bf1bc7d9c59e1d2347adfed622774b
diff --git a/dev/demo/alldemo.js b/dev/demo/alldemo.js
index 28d683b..427dbdb 100644
--- a/dev/demo/alldemo.js
+++ b/dev/demo/alldemo.js
@@ -542,6 +542,9 @@
   // Parse and show the table
   // Override getMatchInfo API call
   KorAP.API.getMatchInfo = function(match, callObj, cb) {
+
+    console.log(match);
+    
     if (callObj["spans"] !== undefined && callObj["spans"] === true) {
       cb({ "snippet": treeSnippet2 });
     }