add incomplete warning and a variable that captures jpeg source of canvas