Draw on a canvas using websockets and MEAN