I have the following Asp.Net MVC 4 razor code at the end of the file.
.... @section Scripts { @Scripts.Render(\"~/bundles/jqueryval\") }
Move the following lines of code to the top of your _Layout.cshtml view inside of the body tag. Then the jQuery scripts will load first.
@Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") @RenderSection("scripts", required: false)