improved pasting
added option: autoCompleteDelay