promise for extjs