added requestAnim shim layer by Paul Irish so requestAnimationFrame can be used across (almost) all browsers
cherry picked andres fix