added requestAnimation polyfill