Updated UMD style wrapper for lang files

Updated UMD style wrapper for lang files to allow concatenating files and still work in node.js