easeljs testing code