Replaced document.write() with outerHTML() so that the library will work with documents that re loaded via AJAX. This is because calling document.write() on a document that has already loaded will spawn a new browser window.
Renamed ajax.php to demo-ajax.html so it's obvious it's not part of the library.