<!DOCTYPE html>
<head>
  <title>DOMWindowCreated helper</title>

  <script type="application/javascript">
  window.doneFunction();
  </script>
<body>
  <h1>DOMWindowCreated Helper</h1>