Update autocomplete.js

Replace escape function to encodeURIComponent.
Merge pull request #12 from wizart/master

Update autocomplete.js