Autocomplete functionality in Node js