     }
     
     open func insertHighlights(_ highlights: [Highlight]) {
-        if let currentHtml = webView.js("document.documentElement.outerHTML") {
+//        if let currentHtml = webView.js("document.documentElement.outerHTML") {
             var newHtml = NSString(string: currentHtml).copy() as! NSString
+        
             var didChanged = false
             
             for highlight in highlights {

            if didChanged {
                webView.loadHTMLString(newHtml as String, baseURL: baseURL)
            }
        }
    }
    
    func createHighlightTag(_ highlight: Highlight) -> (tag: String, locator: String) {

    
    func loadHTMLString(_ string: String!, baseURL: URL!) {
        var html = (string as NSString)
        self.currentHtml = html
        
        print("loadHTMLString html count: \(currentHtml.length)")
        
        self.baseURL = baseURL
        // Restore highlights
        let highlights = Highlight.allByBookId((kBookId as NSString).deletingPathExtension, andPage: pageNumber as NSNumber?)
