migration to createjs