ExtJS: Class definition