Removed canvas global var.

There is no canvas element after page loading.