Moved the script tags to the end of the document so that the pages load faster