Prevent form submissions with javascript on step 3