         let urlRequest = NSURLRequest.init(URL: NSURL.init(string: urlToLoad as String)!);
         webView.loadRequest(urlRequest)
     }
-    
+
     override func viewWillAppear(animated: Bool) {
         super.viewWillAppear(animated)
         view.addSubview(progressView)
     }
-    
+
     override func viewWillDisappear(animated: Bool) {
         super.viewWillDisappear(animated)
         progressView.removeFromSuperview()
     }
-    
+
     func setupWebView() {
         webView = WKWebView.init(frame: CGRectZero)
         webView.translatesAutoresizingMaskIntoConstraints = false

        progressView.autoresizingMask = [.FlexibleWidth, .FlexibleTopMargin]
    }

//pragma mark - WKNavigationDelegate methods
    func webView(webView: WKWebView, decidePolicyForNavigationAction navigationAction: WKNavigationAction, decisionHandler: (WKNavigationActionPolicy) -> Void) {
        let startTime = NSDate()
        let urlString = navigationAction.request.URL?.absoluteString

            super.observeValueForKeyPath(keyPath, ofObject: object, change: change, context: context)
        }
    }

    func addProgressView() {
        progressView = UIProgressView.init(progressViewStyle: .Default)
        progressView.trackTintColor = UIColor.init(white: 1.0, alpha: 0.0)
