Making new MouseEvent() work in IE 10. Added tests for requestAnimationFrame.