TypeError: $(...).validate in not function code example

Example 1: Uncaught TypeError: $(...).validate is not a function

<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js"></script>

Example 2: javascript validate is not a function problem

Functions that arent need to load at the beggining of the page, should have 
defer, loading the scripts correctly, example:
<script type="text/javascript" src="~/lib/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="~/lib/jquery-validation/dist/jquery.validate.min.js" defer></script>
<script type="text/javascript" src="~/EmailValidation.js" defer></script>