Fixes a bug that didn't enable different callbacks for different joints.

Hi David,
In the attached commit I moved the _callback object out of the prototype to allow setting unique callbacks for each joint. 
The previous implementation allowed one callback for each event type for all joints....

Hope this helps,
Best,

LiorZ