You need to use an array or a dictionary to store high scores. AND you will need to save this array/dictionary in Local Storage. It's not difficult. To save the entire array you use:
Local Storage set item "scores" to MyArray.AsJSON
To load it back:
MyArray load from LocalStorage.ItemValue
There are plenty of examples and tutorials explaining how to use Local Storage. Here's one that uses an array.