persist scores in local storage