initialize AssertionError prototype before extending it, not after