Update foot.html

Put javascript to footer to comply with website standards