Charlton claimed an all-important win to boost their fight against relegation from the Sky Bet Championship against rivals Yeovil at the Valley.