Bug 830521: Don't fire localized event twice for precompiled HTML