Use jQuery's on/off instead of bind/unbind.

Bind/unbind doesn't work with the current version of datatables, so I've replaced it with the current jQuery usage of on/off.