Sample xblocks JS for zoomend and moveend events