Failed to warm up pretty text: JavaScript was terminated

Are you running the latest version of Discourse? Try visiting /admin/upgrade and see if there’s an update available.