Request Animation Frame with UMD wrapper