extjs clean code