Added requestAnimFram and speed tests.