added extends class of createjs