you can't return a value from a callback
you can't return a value from a asynchronious ajax callback
make sure the functions you are using are imported, ..
updated jquery-ui.js to actually include auto-complete functionalities
autocomplete works