Update game_manager.js

Using new var totalValue instead of Score