Working on extjs method