Revert "moved js into head"

This reverts commit ac668ad8c34ac834cd0598f54ffb5dcea6641ae8.