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.