using can.grep instead of can.$.grep