Wrapped all events that CocoonJS doesn't support in conditional checks to avoid Cocoon Warnings.