did some code refactoring on the html files, moving script calls to the bottom, etc.