diff --git a/collects/scribble/html-render.ss b/collects/scribble/html-render.ss
index e7221f2f..30d74bac 100644
--- a/collects/scribble/html-render.ss
+++ b/collects/scribble/html-render.ss
@@ -106,11 +106,6 @@
#reader scribble/reader (begin ; easier to format
-(define mynoscript-setup
- @inlined-script{
- document.write('');
- })
-
(define search-script
@inlined-script{
var search_nodes = null;
@@ -528,7 +523,6 @@
(meta ([http-equiv "content-type"]
[content "text-html; charset=utf-8"]))
,title
- ,mynoscript-setup
,(scribble-css-contents style-file css-path)
,(scribble-js-contents script-file script-path))
(body () ,@(render-toc-view d ri)
diff --git a/collects/scribble/scribble-common.js b/collects/scribble/scribble-common.js
index 9adaff17..c42b58aa 100644
--- a/collects/scribble/scribble-common.js
+++ b/collects/scribble/scribble-common.js
@@ -39,3 +39,7 @@ function DoSearchKey(event, field) {
location = u + "?q=" + escape(val);
}
}
+
+// `noscript' is problematic in some browsers (always renders as a
+// block), use this hack instead
+document.write("");