add-in to wrap element addEventListener errors
perf