perf(jqLite): optimize event handler