move zoom.js to separate file