change hiddden vide events to use addEventListener as onx= not liked on linux