 			make.left.right.equalTo(self.view)
 			make.bottom.equalTo(self.view).offset(-keyboardHeight)
 		}
+		self.spinnerView.snp_makeConstraints { make in
+			make.centerX.equalTo(self.view)
+			make.top.equalTo((self.view.frame.size.height - keyboardHeight) / 2)
+			return
+		}
 	}
 
 	private func animateSearchEnginesWithKeyboard(keyboardState: KeyboardState) {

	}

	func webView(webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!) {
	}

	func userContentController(userContentController:  WKUserContentController, didReceiveScriptMessage message: WKScriptMessage) {

        self.webView = WKWebView(frame: self.view.bounds, configuration: config)
		self.webView?.navigationDelegate = self;
        self.view.addSubview(self.webView!)

		self.spinnerView = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.Gray)
		self.view.addSubview(spinnerView)
		spinnerView.startAnimating()

//		let url = NSURL(string: "http://localhost:3005/extension/index.html")
		let url = NSURL(string: "http://cdn.cliqz.com/mobile/extension/index.html")
