Fix performance of recalcPoints by caching the matches collection
Correct jQuery syntax