diff --git a/index.html b/index.html
index 781b6e3..eee821f 100644
--- a/index.html
+++ b/index.html
@@ -138,7 +138,7 @@
this.Status="Error";
},
gotWsMessage: function(e) {
- var d=parseJSON(e.data);
+ var d=JSON.parse(e.data);
this.currentSpeed=d.speed;
this.speed.set(this.currentSpeed);
this.currentRPM=d.rpm;