Refactor: Introduce jQuery into the game