     NSLog("%@ - %@", TAG, message)
 }
 
+var GeofencePluginWebView: UIWebView?
+
 @objc(HWPGeofencePlugin) class GeofencePlugin : CDVPlugin {
     let geoNotificationManager = GeoNotificationManager()
     let priority = DISPATCH_QUEUE_PRIORITY_DEFAULT

                if notify == 0 {
                    log("FAKER notify chosen, need to pick up some region")
                    var geos = self.geoNotificationManager.getWatchedGeoNotifications()!
                    //WTF Swift??
                    let index = arc4random_uniform(UInt32(geos.count))
                    var geo = geos[Int(index)]
                    let id = geo["id"].asString!
                    dispatch_async(dispatch_get_main_queue()) {
                        if let region = self.geoNotificationManager.getMonitoredRegion(id) {
                            log("FAKER Trigger didEnterRegion")
                            self.geoNotificationManager.locationManager(
                                self.geoNotificationManager.locationManager,
                                didEnterRegion: region
                            )
                        }
                    }
                }

    
    func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion!, withError error: NSError!) {
        log("Monitoring region " + region.identifier + " failed " + error.description)
    }

    func handleTransition(region: CLRegion!) {
        if let geo = store.findById(region.identifier) {
            notifyAbout(geo)
            GeofencePlugin.fireRecieveTransition(geo)
        }
    }

    func notifyAbout(geo: JSON) {
