Could you implement a option to get autocompletion by similarity? Like this:
http://phpjs.org/functions/levenshtein:463
Would be really cool!
Maybe a combination from current algorithm (first chars matching) and the levenshtein algorithm is also possible.