Here is html code for the form:
In my case I was calling $.validator before $(document).ready. Once I moved it to a function being called from ready, it worked. It will work after or during ready but not before.
$.validator
$(document).ready
ready