Hi there Andrew, I'm the author. After reading the comments on HN and elsewhere, I'm surprised to see my hack being praised for it's simplicity. If I had more time last night, I would have implemented more features - I have a ton of ideas.
I guess it's good that I didn't. It looks like simplicity won.
Speed it up by not going through your server to get the query suggestions. You can drop the jsonp parameter and just eval the results. Or change the jsonp parameter and include it as a script tag.
<script> tags aren't subject to cross-___domain restrictions. Think about it - all those website statistics scripts are hosted on external servers, but their Javascript gets executed just fine. By dynamically inserting <script> tags into the page, you can force Javascript from another ___domain to execute in your ___domain.
I guess it's good that I didn't. It looks like simplicity won.