A simple upgrading game written in html5