Added HTML5 Canvas support