Fixed leaf text size

Change-Id: Ic0e1f90c1bf1311ee719d2cd8d728e4eb7b5787d
diff --git a/dev/js/src/match/relations.js b/dev/js/src/match/relations.js
index 5193635..a201b9f 100644
--- a/dev/js/src/match/relations.js
+++ b/dev/js/src/match/relations.js
@@ -292,6 +292,7 @@
        * Create token list
        */
       var text = g.appendChild(this._c("text"));
+      text.setAttribute('class', 'leaf');
       text.setAttribute("text-anchor", "start");
       text.setAttribute("y", height);