<div id="env"><%= Rack::Utils.escape_html JSON.generate(request.env) %></div> <script type="text/javascript">window.parent.iframeLoad(window)</script>