Updated RequestAnimationFrame to work with non prefixed requestAnimationFrame first if available.
Amend: Changed formatting from Spaces to Tabs