Update autocomplete.js

All request type: "GET", else error with post query in my project.
Update autocomplete.js

fix indentation
Merge pull request #175 from BergSoft/patch-1

Explicit specification of the GET request method in autocomplete.js.