adds client side validation to search address form

Wrapped an ```if``` statement around the AJAX call, re-rendered the template with an error state on the form field.