commit for @fgeliber, it is here we should capture the window.event, but we got instead a customEvent