Can't reference window in web-animations.js as grunt complains.