added the jQuery validate plugin which makes sure form is not empty before you submit