Turn brutish, global namespace polluting JS files into lovely UMD modules