clean config for peerjs