In localStorage when the value is null it has to be converted to js null
Path property now can work with anchors