Webpage functions are nearly finished. Next up: actual game logic.