update index.html

move script to footer