Switching to jQuery. Adding sockets.