started rewrite
updated and fixed index.html
cleared remaining stuff
this removes the need to put everything in window.onload
implemented board