this fixes #16: don't mix  with window.addEventListener('load')