$().ready(function() {
// validate the comment form when it is submitted
$("#commentForm").validate();
});