ok now i get it.
The thing is i had set local key bestdistance to webstorage.localvalue ("bestdistance") and is set local key "bestdistance" to round(totaldistance).
But when i saw the tutorial on youtube they use webstorage.localvalue... which is the diference between both?
This works if the game is for android cell phones?
i think now im going to try the best 3 scores