added more comments to publishjavadoc.sh