NodeJS server, drawn rectangles