Just out of curiosity, what does this change do? It looks to me like it should do the same thing as the original, but maybe I'm missing a bit of JS-fu.