Update index.html

Changed order of loading javascript