Switch setTimeout to setInterval on draw.php