Path segmented autocomplete for jQuery