move JS to end of slides HTML file