Revert "Move JavaScript to bottom of page"

This reverts commit 58fe33541e17ea41b0cf819a8a8f63ecf5c1925c.
Debug