diff --git a/exercise/static/exercise/personalized_points_goal.js b/exercise/static/exercise/personalized_points_goal.js
index fb338be80..4e44d5ae8 100644
--- a/exercise/static/exercise/personalized_points_goal.js
+++ b/exercise/static/exercise/personalized_points_goal.js
@@ -57,7 +57,7 @@ $(document).ready(function() {
spanElement = doc.createElement('span');
spanElement.className = 'personalized-points-full-text text-nowrap';
doc.body.appendChild(spanElement);
- spanElement.innerHTML = "
" + $pointsGoalForm.data('personalized-points-goal-tooltip-text') + ": " + response.personalized_points_goal_points;
+ spanElement.innerHTML = "
" + $pointsGoalForm.data('personalized-points-goal-tooltip-text') + ": " + "" + response.personalized_points_goal_points + "";
}
else {
spanElement.textContent = response.personalized_points_goal_points;
@@ -127,7 +127,7 @@ $(document).ready(function() {
// Update progress-bar style
$progressDiv.find('.progress-bar').removeClass('progress-bar-primary');
-
+
$('#remove-success-alert').show();
setTimeout(function() {
$('#remove-success-alert').hide();
diff --git a/exercise/templates/exercise/_points_progress.html b/exercise/templates/exercise/_points_progress.html
index 154f7987e..eaf8a6378 100644
--- a/exercise/templates/exercise/_points_progress.html
+++ b/exercise/templates/exercise/_points_progress.html
@@ -9,7 +9,7 @@