working out some of the functionality to create a svg, html5 css based cleared rooms application