Moved script tags to the end of the document body to avoid tying up loading of other assets.