Added primitive client side validation on the jquery autocomplete box.