Node based bin and library to capture X11 output