refactoring

add a 'var data = {}' for each element's event, to save some data.
#2 didn't set namespace when using on(event.namespace, selector, callback)