Apply changes from umdjs/umd@4ba264e0