diff --git a/templates/root.html b/templates/root.html
index 47ce6f1..08a53f7 100644
--- a/templates/root.html
+++ b/templates/root.html
@@ -215,9 +215,7 @@ function submitform()
{
var x = document.getElementById("idimg");
x.setAttribute("src", "https://robohash.org/" + document.getElementById("textform").query.value );
- var y = document.getElementById("YourIP");
- y.innerHTML = "http://robohash.org/" + document.getElementById("textform").query.value;
-
+ $("#YourIP").text( "http://robohash.org/" + document.getElementById("textform").query.value);
}