Update form.js – replaced return false with event.preventDefault()