diff --git a/previewers/betatest/js/rocrate.js b/previewers/betatest/js/rocrate.js
index c0ffba8..4bec0c1 100644
--- a/previewers/betatest/js/rocrate.js
+++ b/previewers/betatest/js/rocrate.js
@@ -9,5 +9,5 @@ function translateBaseHtmlPage() {
async function writeContentAndData(data, fileUrl, file, title, authors) {
addStandardPreviewHeader(file, title, authors);
- document.getElementById('scripts').innerHTML = '';
+ $('.preview').append($('
').html(''));
}