Update jquery-getselector.js

So I was testing github search in chrome and typed in my username and came across your js utils.

Its awesome you're using the git selector code I wrote, and thanks for attributing it.  Anyway It seems the version you're using was before I learned about why its important to use the `var` keyword.  So I figured I'd update the code for you.