#2 Use UMD to make library usable with browser globals as well