Update check availability module to use autocomplete.

See issue #757