window.location.host for imageviewer js