diff --git a/js/VisualEvent.js b/js/VisualEvent.js
index 825f407..dba9bac 100644
--- a/js/VisualEvent.js
+++ b/js/VisualEvent.js
@@ -492,7 +492,7 @@ VisualEvent.prototype = {
if ( srcFiles.length === 0 ) {
origin = "Function definition could not be found automatically
";
} else if ( srcFiles.length === 1 ) {
- origin = "Function defined in ';
+ origin = 'Function defined in ';
if (srcFiles[0].src != 'Inline script') {
origin += ''+this._scriptName(srcFiles[0].src)+'';
} else {