diff --git a/examples/index.js b/examples/index.js
index 4360b0c..df8f083 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -1,5 +1,4 @@
var map;
-var layer;
map = L.map('map', {
center: [0, 0],
@@ -7,7 +6,7 @@ map = L.map('map', {
zoom: 0
});
-var url = window.location.search.replace('?url=', '');
+var url = window.location.search.replace('?url=', '')
// http://stackoverflow.com/a/18222306
var urlregex = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/;
@@ -15,11 +14,3 @@ var urlregex = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#
if (urlregex.test(url)) {
layer = L.tileLayer.iiif(url, {}).addTo(map);
}
-
-layer.on('load', function() {
- $('head').append(
- '' +
- '' +
- ''
- );
-});