Add comment for license and change requestAnimFrame.