diff --git a/examples/jsts.html b/examples/jsts.html
index b3282c6573..b4413d8185 100644
--- a/examples/jsts.html
+++ b/examples/jsts.html
@@ -1,6 +1,6 @@
---
-layout: example.html
-title: JSTS Example
+layout: strapless.html
+title: JSTS Integration
shortdesc: Example on how to use JSTS with OpenLayers 3.
docs: >
Example showing the integration of JSTS
@@ -9,11 +9,5 @@ tags: "vector, jsts, buffer"
resources:
- https://cdn.rawgit.com/bjornharrtell/jsts/gh-pages/lib/0.16.0/javascript.util.min.js
- https://cdn.rawgit.com/bjornharrtell/jsts/gh-pages/lib/0.16.0/jsts.min.js
-
-
---
-
+
diff --git a/examples/jsts.js b/examples/jsts.js
index 8d0c18ced0..1c8e37e5f2 100644
--- a/examples/jsts.js
+++ b/examples/jsts.js
@@ -12,10 +12,11 @@ goog.require('ol.source.Vector');
var source = new ol.source.Vector();
-$.ajax('data/geojson/roads-seoul.geojson').then(function(response) {
+fetch('data/geojson/roads-seoul.geojson').then(function(response) {
+ return response.json();
+}).then(function(json) {
var format = new ol.format.GeoJSON();
- var features = format.readFeatures(response,
- {featureProjection: 'EPSG:3857'});
+ var features = format.readFeatures(json, {featureProjection: 'EPSG:3857'});
var parser = new jsts.io.olParser();