Fixing the generator

Depends on:
 * https://github.com/web-animations/web-animations-js/pull/305
 * https://github.com/web-animations/web-animations-js/pull/271