Use JavaScript to generate body (what could possibly go wrong?)