fix exeption from localStorage.key() in old opera(12.16) - 2