Replaced "showZoom" in HTML with event handler in JS