minor createjs implementation