added js function to zoom image