The code looks correct, however we're duplicating a default for `frames` that exists in the fastdom code (https://github.com/wilsonpage/fastdom/blob/master/index.js#L139) , if it changes we have to update this also