Implement `$.prototype.index`

Definitely--very nice catch