let leaflet = match Jv.(find global "L") with | Some l -> l | None -> failwith "Could not load Leaflet"