Cross-browser fullscreen support.
Cross-browser requestAnimationFrame.
Fixed bug which causes to prevent from using indices array.