Fix downloads page not working due to jquery loading after the script

Make jquery load before the script by moving include footer on top.