I want the animation works continuously, but there will always be an error in console: "VM1179:1 Uncaught ReferenceError: move is not defined". Don't know why... Copy the code below

```
$(document).ready(function(){

    function move(){
        $("#block").animate({left:"+=50px" },1000).animate({top:"+=50px"},1000).animate({left:"-=20px"},1000).animate({top:"-=20px"});
        setTimeout('move()',1000);
    }
    move()
})

```