Adding rAF polyfill for demo purposes