Easeljs subclass working, but error on first instantiation, not sure why