This is the code of the OverridesInExtJS blog post