updated for extjs 4.2.1