A Bug fix and an optimization.

After running the unit tests, Bill found that IE 8 systems where not working properly with the patch. This was
because  I was using this.textbox.maxLength, instead of this.maxLength. There is a bug with the maxLength property
in IE 7 & 8. (http://stackoverflow.com/questions/6761550/bug-in-internet-explorer-7-element-getattribute-method)

Bill also recommended an optimization around determining the locale that has been added.

refs 17923