It is very likely that you will miss this event. Don't you want to use the navigator.mozL10n.ready method instead?