If I understand correctly, you have a JS object / array with words, you are modifying it and want to keep the modified version forever.
If yes, then you can use "HTML5"localStorage .
This is a repository for every browser. If you want one version to be distributed among many users / browsers, you will need server-side support.
source
share