LPS-46221 Wrap autocomplete.js module to prevent leaking vars to global