Change the your JavaScript under the // add new ones comment to this:
$.each(errors, function(index, error) {
wall.append(
"<p><strong>" +error.input.prev().html()+ "</strong> " +error.messages[0]+ "</p>"
);
});
Instead of printing the name attribute of the input object, it will print the html inside the previous element which is the label