Fixed autocomplete js + controller