is calling init_AC function BEFORE the tables are created.
so init_AC don't see tables and spit out errors.
I am not sure how the JS relates to the init_AC, so I can't make any changes right now.
All I know is, when I remove
the autocomplete don't work. Please advise how to fix. Thanks!