Error after copy from jsFiddle
<p>Hi I have copied some code from jsFiddle in a new file called text.js:</p>

<p><a href="http://jsfiddle.net/h3BCq/1/" rel="nofollow">http://jsfiddle.net/h3BCq/1/</a></p>

<p>The code is now:</p>

<pre><code>var canvas;
var ctx;
var x = 75;
var y = 50;
var dx = 5;
var dy = 3;
var WIDTH = 450;
var HEIGHT = 400;
var dragok = false,
text = "Hey there im movin!",
textLength = (text.length * 14)/2;

function rect(x,y,w,h) {
 ctx.font = "14px Arial";
 ctx.fillText("Hey there im a movin!!", x, y);
}
function clear() {
 ctx.clearRect(0, 0, WIDTH, HEIGHT);
}
function init() {
 canvas = document.getElementById("canvas");
 ctx = canvas.getContext("2d");
 return setInterval(draw, 10);
}
function draw() {
 clear();
 ctx.fillStyle = "#FAF7F8";
 ctx.fillStyle = "#444444";
 rect(x - 15, y + 15, textLength, 30); 
}
function myMove(e){
 if (dragok){
 x = e.pageX - canvas.offsetLeft;
 y = e.pageY - canvas.offsetTop;
 }
}
function myDown(e){
 if (e.pageX &lt; x + textLength + canvas.offsetLeft &amp;&amp; e.pageX &gt; x - textLength +          canvas.offsetLeft &amp;&amp; e.pageY &lt; y + 15 + canvas.offsetTop &amp;&amp; e.pageY &gt; y -15 + canvas.offsetTop){
 x = e.pageX - canvas.offsetLeft;
 y = e.pageY - canvas.offsetTop;
 dragok = true;
 canvas.onmousemove = myMove;
 }
}
function myUp(){
  dragok = false;
  canvas.onmousemove = null;
}
init();
  canvas.onmousedown = myDown;
  canvas.onmouseup = myUp;​
</code></pre>

<p>Now Firebug says:</p>

<p>illegal character on
init();canvas.onmousedown=myDown;canvas.onmouseup=myUp;​ </p>

<p>Chrome says:
Uncaught SyntaxError: Unexpected token ILLEGAL</p>

<p>What is the error?</p>

<p>Thank you very much
Regards Martin</p>
