Fix UMD pattern