Improved structure for setting up the js drawing

Wrote a thisContext() method, which returns a context for drawing rooms
with.