fix html
move JS into footer