reordered scripts in html