Update the destroy method. Unbind listeners by event namespace.

This will be convenient for adding new event bind in the file. Do not worry about forgetting to unbind it.