Fix bug with RequestAnimationFrame which has to have window as this.
New libs