Fix autocomplete widget

Due to an unnecessary bracket, javascript is broken