use jQuery.validate plugin to validate name field is required