Make sure the JavaScript used document.on(), so it also works with AJAX pages. Fixes #8
Merge pull request #13 from ho-nl/updated-js

Make sure the JavaScript used document.on()