updated UMD definition, updated docs output dir structure