LPS-46221 Support additional container ascendants
LPS-46221 Wrap autocomplete.js module to prevent leaking vars to global
LPS-46221 SF
LPS-46221 Add mousedown listener on body, since selectionChange doesn't fire as often as needed
LPS-46221 Improve caretIndex calculation after insertion