added localStorage to save score, cleaned up score variables