A pure JS (no jQuery required) implementation of the HTML5 datalist element