Implement Quicksilver score-based text matching for the jQuery version, plus some style tweaks

New pull request with clean commits per the last comment in my last pull request.