Improve JavaScript support (autocomplete fix)

Improved https://github.com/crucialfelix/django-ajax-selects/pull/44/files#r3610996.
Just another try for jquery autocomplete issue (quick hack for saving backward compactibility).
Tested with jquery 1.9.1 & jquery-ui 1.10.1 (no errors).