added ResizeWithCanvas globally in the browser window object
added ResizeWithCanvas globally in the browser window object

added gobally the function to interact with canvas

Alex-D/Trumbowyg,timint/Trumbowyg,Alex-D/Trumbowyg,timint/Trumbowyg