(function($){'use strict';$(document).ready(function(){$.validator.addMethod("usd",function(value,element){return this.optional(element)||/^(\$?)(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$/.test(value);},"Please specify a valid dollar amount");$('#start-date, #end-date').datepicker();$('#form-personal').validate();$("#form-project").validate();$("#form-work").validate();});})(window.jQuery);