(Bug 4073) Moves printing out of the JS to the bottom of the page