Hover effects to divs and made error in form actually terminate submission