Fixed hint spec

Change-Id: I728112069106c2c50a8f2c224bc721c2753cb6f7
diff --git a/dev/js/spec/matchSpec.js b/dev/js/spec/matchSpec.js
index bee5f86..e52132c 100644
--- a/dev/js/spec/matchSpec.js
+++ b/dev/js/spec/matchSpec.js
@@ -412,8 +412,9 @@
       expect(matchElement.children[1].firstChild.nodeValue).toEqual('me');
 
       // now
-      var infotable = matchElement.children[0].children[1];
+      var infotable = matchElement.children[2];
       expect(infotable.tagName).toEqual('DIV');
+
       expect(infotable.classList.contains('matchinfo')).toBeTruthy();
 
       expect(infotable.children[0].classList.contains('matchtable')).toBeTruthy();
@@ -457,7 +458,7 @@
       expect(matchElement.children[1].firstChild.nodeValue).toEqual('me');
 
       // now
-      var infotable = matchElement.children[0].children[1];
+      var infotable = matchElement.children[2];
       expect(infotable.tagName).toEqual('DIV');
       expect(infotable.classList.contains('matchinfo')).toBeTruthy();
       expect(infotable.children[0].classList.contains('matchtable')).toBeTruthy();
@@ -473,7 +474,7 @@
 
     it('should add a tree view async 2', function () {
       // With added tree
-      var infotable = matchElement.children[0].children[1];
+      var infotable = matchElement.children[2];
       expect(infotable.tagName).toEqual('DIV');
       expect(infotable.classList.contains('matchinfo')).toBeTruthy();
       expect(infotable.children[0].classList.contains('matchtable')).toBeTruthy();