Reordered scripts in base.html