diff --git a/examples/browser/demo.html b/examples/browser/demo.html
index c383283..fccb0e6 100644
--- a/examples/browser/demo.html
+++ b/examples/browser/demo.html
@@ -27,7 +27,7 @@ function progressUpdate(packet){
if(packet.status == 'done'){
var pre = document.createElement('pre')
- pre.appendChild(document.createTextNode(packet.data.text))
+ pre.appendChild(document.createTextNode(packet.data.data.text))
line.innerHTML = ''
line.appendChild(pre)