Added preventDefault to form