The existing code uses `image.addEventListener('load', ...`, shouldn't this use the same (one or the other, but not both)