don't sync when building production

+ some JSdocs