this commit fixes a crash due to unavailability of localStorage https://github.com/zyachel/libremdb/issues/31