Adding loading icon on draw.php