corrects a typo in a LocalStorage check, in te javascript part