support for events on basecomponents; fixed the func. name stack trace under chrome;