changed initialization so $.validator.addMethod is called after $.validator is loaded