split canvas rendering code

code used to draw to an html5 canvas element has been moved to
shtmView.js
renamed script references