include JS at the end of the body tag, not in the head
don't statically render the live preview on page load

If JS is disabled or doesn't work, this just leads to confusion as
there's a stale version of the page visible.