             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.baseURL = baseURL
        // Restore highlights
        let highlights = Highlight.allByBookId((kBookId as NSString).deletingPathExtension, andPage: pageNumber as NSNumber?)

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