Made lightbox work via webclient/sockets