index.html: references to JS moved to bottom