I want to get the value of "text" from below code with javascript. Any help will be appreciated.

```js
<script> require("InitialJSLoader").handleServerJS({

    "require": [

        ["ODNavigation", "setPageQuery", [],
            [{
                "structure": [{
                    "text": "name",
                    "type": "none",
                    "uid": 00001
                }],
                "semantic": null
            }]
        ]
    ]
});
</script>
```