Rearranged scripts in HTML page.