Make web-animations.js work in Firefox