adding some usage comments to debug js