UMD factory, and more module-friendly mustache lib detection