Created by: dhilowitz
I have updated the destroy function so that the the call to off() actually works. Otherwise, it simply fails silently and doesn't unbind anything.
jQuery's off function takes a list of events as its first argument. Here's a reference: http://api.jquery.com/off/#off-events-selector