[Design] Put scripts at the end of the page for faster page loading