Isn't it a relationship between the databases?
The primary key and foreignkey or something like that
So my game has high score stored in local storage which can be called as "database"
That's all
Every stage has it own high score, and it'll be accumulated in the main menu
Man, it's confusing