diff --git a/profile.html b/profile.html
index fd5b3ef0ab..a126ad1fe9 100644
--- a/profile.html
+++ b/profile.html
@@ -108,7 +108,7 @@ $(function() {
%>
- ${ section['section'] } ${"({0}/{1}) {2}".format( earned, total, percentageString )}
+ ${ section['section'] } ${"({0:g}/{1:g}) {2}".format( earned, total, percentageString )}
${section['subtitle']}
%if 'due' in section and section['due']!="":
due ${section['due']}
@@ -118,7 +118,7 @@ $(function() {
${ "Problem Scores: " if section['graded'] else "Practice Scores: "}
%for score in section['scores']:
- - ${ score[0] }/${ score[1] }
+ - ${"{0:g}/{1:g}".format(score[0],score[1])}
%endfor
%endif
diff --git a/profile_graphs.js b/profile_graphs.js
index 502c3c1469..5ffbde5521 100644
--- a/profile_graphs.js
+++ b/profile_graphs.js
@@ -58,7 +58,7 @@ $(function () {
color: colors[${sectionIndex}].toString(),
});
ticks = ticks.concat( [ [${tickIndex}, "${section['totallabel']}"] ] );
- detail_tooltips["${section['category']} Average"] = [ "${section['totalscore']['summary']}" ];
+ detail_tooltips["${section['category']} Total"] = [ "${section['totalscore']['summary']}" ];
<% tickIndex += 1 + sectionSpacer %>
%else: ##This is for sections like midterm or final, which have no smaller components