The problem with WebStorage is without hacks it would share data with all other games on the domain (i.e. all other arcade games). So setting 'lastLevel' to 5 could overwrite another game's 'lastLevel'. It can be fixed with some hacks, but it's a little complicated...