use canvas id instead of canvas object