Feature autocomplete

I wrote this query suggestion/autocomplete feature for helping users with their query request. The idea is to maintain a database of queries that we maintain offline (by batch proccessing query log files)... right now the database maintains the query text and the number of occurences (ie frequency). 

When partial text is entered in the  search textbox, an ajax request is sent to the server to retreive the top 5 over lapping queries..... (like any other search engine)

A possible addition would be to map queries to sounds that have been downloaded in response to those quries.....As of now, consider this work-in-progress because we don't have any query database at the moment.

Looking forward to hear your feedback, review, etc.....