Wraps given JavaScript code with UMD (MIT)