remove createjs and use requestAnimationFrame