perf: move scripts to the bottom of the body tag

This should slightly speed up page rendering.