Fix imageQuery listening on non-existing onload event
image query doc blocks