Add polyfill for request animation from.