bootstrap: detect not only if jQuery.ui is loaded but also that jQuery.ui.autocomplete is present