HTML - canvas: clean the window