FrogComplete, a small autocomplete widget

So I applied for a position as a web engineer at Mozilla Taiwan to work on firefox OS (a full html5 os to run on smartphone, super cool project), and I got a pre-interview assignment. The goal was to write a small autocomplete widget with some requirements:

I spent 2-3 days on it, doing my best to have a decent widget, and the result is FrogComplete. The code is on github. There is live demo and you can find a small overview of the project on my lab page.

edit Ultimately it didn't work out for Mozilla :( /edit