FIXED: do not hard code autocomplete HTTP API URI in the javascript, put pass it along with the other API paths