check if JS is UMD