         }
       case "removeorange", "hideorange":
         if hasOrange && webView != nil {
+          webView!.isHidden = false
           hasOrange = false
-          self.webView!.evaluateJavaScript(self.hideOrange) { (result, error) in
-            self.log("Orange screen removed")
-            self.sendMessage(id:id, message:"OK")
-          }
         } else {
           self.sendMessage(id:id, message:"ERROR")
         }

  func startBrowser(id:String) {
    UIScreen.main.brightness = 0.0
    closeWebView()
    startTime = DispatchTime.now()
    webView = WKWebView()
    webView!.frame = self.view.bounds
    self.view.addSubview(webView!)
    webView!.loadHTMLString(startPage, baseURL: URL(string: "http://www.webpagetest.org"))
    hasOrange = true
    webView!.navigationDelegate = self

        url = "http://" + url
      }
      title = "Loading..."
      webView!.isHidden = false
      self.hasOrange = false
      webView!.load(URLRequest(url: URL(string:url)!))
      sendMessage(id:id, message:"OK")
    } else {
