Removes extjs related code to the extjs controller