diff --git a/jquery.flot.threshold.js b/jquery.flot.threshold.js
index <HASH>..<HASH> 100644
--- a/jquery.flot.threshold.js
+++ b/jquery.flot.threshold.js
@@ -61,7 +61,7 @@ events.
             var m;
 
             for (i = 0; i < origpoints.length; i += ps) {
-                x = origpoints[i]
+                x = origpoints[i];
                 y = origpoints[i + 1];
 
                 prevp = p;
Added a missing semicolon.