madlibs writes to html instead of alert and form reset on submit