Enh: added canvas; refactored html5code