override jQuery "on" handler to track events