further mods to cube.html