Unbind previously set event callbacks

Unbind previously set event callbacks so that we can reload this script
without refreshing