Using JS code, I can able to get Element1 enabled status true or false.

But on load, I want to change the status of enabled = true. When I use below to set item, getting syntax error. Not sure which one is missing out.

```js
let getElement1Status = JSON.parse(localStorage.getItem('cookieset')).Element1.enabled;
        if(getElement1Status){
            $('#div-ele').show();
        } else {
            $('#div-ele').hide();
    }

 JSON.parse(localStorage.setItem('cookieset', 'true')).Element1.enabled;

```

```js
{
   "element1":{
      "enabled":false
   },
}
```