fix html5 validation and center submit button