Changed JSON.stringify(score) to score