serve a web page for high scores, refactoring