Did you have some problems with localStorage ? not sure why we need to set it to null