Put up the final codes on Safari/Firefox web browsers for PC/Mac. http://virtualgs.larwe.com/web/ Note that I change from /safari to /web since now it supports Firefox (IE cannot be supported since it used a new HTML 5 feature call Canvas).
Check out excanvas (http://excanvas.sourceforge.net/) which provides partial canvas emulation in Internet Explorer via VML - basically, you drop one <script> tag on your page. I use this to implement hires graphics in my Applesoft interpreter http://www.calormen.com/Applesoft - thus giving me functional graphics in Internet Explorer, Firefox, Safari and Opera.
Since it's emulating a bitmap using vector graphics, it's not going to be "perfect" - and doing too much drawing pixel-by-pixel is likely to make a very large (and hence very slow to render) DOM, but the behavior of canvas across browsers is not pixel-accurate anyway.