Formatting and cleanup in extjs ui