diff --git a/js/README.md b/js/README.md
index b940fdf..de631fe 100644
--- a/js/README.md
+++ b/js/README.md
@@ -10,7 +10,7 @@ Example of a raster PMTiles archive displayed in Leaflet:
```js
const p = new pmtiles.PMTiles('example.pmtiles')
-pmtiles.leafletRasterLayer(p,{attribution:'© OpenStreetMap contributors'}).addTo(map)
+pmtiles.leafletRasterLayer(p,{attribution:'© OpenStreetMap'}).addTo(map)
````
### Vector tileset
@@ -29,6 +29,7 @@ var style = {
"sources": {
"example_source": {
"type": "vector",
- "tiles": ["pmtiles://example.pmtiles/{z}/{x}/{y}"],
+ "url": "pmtiles://https://example.pmtiles",
+ "attribution": '© OpenStreetMap'
...
```