The localization code in this app is really old and may not make sense anymore.  

I think this function was written as an onlocalized event handler at first.  So it may not make sense with this newer ready() function.