proposes eventing optimization for cardController.js

Proposes alternate version of the function on line 48.
This version has MUCH better performance.
I left it commented for now, in case you want to modify it.