JS: Using window.addEventListener instead of overriding the window.onload function
PMOX-113 : adjust version