zoomSystem in javascript