leafletjs image slicing script