added js to make sure form is filled out