added comments to gz.js