diff --git a/prototype/UI/index.html b/prototype/UI/index.html
index 1a8be2296..8656be8c7 100644
--- a/prototype/UI/index.html
+++ b/prototype/UI/index.html
@@ -220,10 +220,10 @@
loadJSON('diff.json', function (json) {
var diff = diffFromJSON(json.diff);
var before = diff.map(function(value) {
- return value.before != null ? termToDOM(value.before, "before", json["before"]) : null;
+ return value.before != null ? termToDOM(value.before, "before", json["before"]) : "";
});
var after = diff.map(function(value) {
- return value.after != null ? termToDOM(value.after, "after", json["after"]) : null;
+ return value.after != null ? termToDOM(value.after, "after", json["after"]) : "";
});
document.getElementById("before").appendChild(diffToDOM(before, "before", json["before"]));
document.getElementById("after").appendChild(diffToDOM(after, "after", json["after"]));