Use HTML5 validation before sending off AJAX request.

This saves a request when not all required fields are filled but also lets people use `pattern` attributes and stuff if they registered custom checkout templates.