fix #1: Firefox localStorage