Fix issue #8

Uncaught ReferenceError: autocomplete is not defined