Fix autocomplete widget

Due to an unnecessary bracket, javascript is broken
Merge pull request #399 from saz/patch-1

Fix autocomplete widget