Added script snippets for autocomplete