adds score to jbuilder views