PeerList modification

Export peerList loading from document.ready. Modify peerlist only if there is peers