Added requestAnimationFrame support, needs refactoring, using a closure at the moment
Temp
Added keyboard up event