Bug 1022941 - [email] On language change, cached timestamps do not change to new language

Switched to visibilitychanged event, and common function

changed function name, removed log