             if data != nil {
                 print("jsCallback Response \(data!)")
             }
+            measure.duration(location: "Done JS")
         })
     }
     
     func webView(_: WKWebView, didFinish: WKNavigation!) {
         print("Test Web page loaded \(reference.toString())")
-        let message = "getClass(document.body);\n"
+        let message = "var find = document.getElementsByTagName('p')[21];\n"
+            + "getClass(document.body, find);\n"
+        //let message = "getClass(document.body, document.body);\n"
         self.execJavascript(message: message)
     }
     

    }
  
    func execJavascript(message: String) {
        self.webView.evaluateJavaScript(message, completionHandler: { data, error in
            if let err = error {
                print("jsCallbackError \(err)")

        + "}\n"
    
    static let findVerseNum = "var verseNum = null;\n"
        + "function getClass(startNode, findNode) {\n"
        + "  walkNodes(startNode, findNode);\n"
        + "  return verseNum;\n"
        + "}\n"
        + "function walkNodes(node, findNode) {\n"
        + "  verseNum = findVerseNum(node) || verseNum;\n"
        + "  node = node.firstChild;\n"
        + "  while(node && node !== findNode) {\n"
        + "    walkNodes(node, findNode);\n"
        + "    node = node.nextSibling;\n"
        + "  }\n"
        + "}\n"
