Make callback variable a function in NICK so that if onUnload gets called, it removes the listener instead of crashing.