Moved the layout scripts to go above RenderBody.