Here are your options
1) Server side code + db:
If you want the entire organisation to view the "new structure" you will have to use a database and server side code. You can't edit the actual file with client side javascript.
2) localstorage:
If it is just you using it, you can save the data in localstorage, and access the structure each time you load the page.