remove repeated code
remove repeated code

nicola/webtorrent,serafinfernandez/webtorrent,jamesliu96/webtorrent,jamesliu96/webtorrent,feross/webtorrent,beni55/webtorrent,webtorrent/webtorrent,MiracleBlue/webtorrent,karissa/webtorrent,loon3/webtorrent,akiva/webtorrent,rozifus/webtorrent,akiva/webtorrent,adriagalin/webtorrent,loon3/webtorrent,sideffect0/webtorrent,webtorrent/webtorrent,fisch0920/webtorrent,FabianFrancoRoldan/webtorrent,gillesdemey/webtorrent,Stiveknx/webtorrent,MiracleBlue/webtorrent,whitef0x0/webtorrent,yciabaud/webtorrent,whitef0x0/webtorrent,FabianFrancoRoldan/webtorrent,lucamaraschi/webtorrent,solderzzc/webtorrent,Stiveknx/webtorrent,nicola/webtorrent,arestov/webtorrent,ngjermundshaug/webtorrent,adriagalin/webtorrent,fisch0920/webtorrent,lucamaraschi/webtorrent,ericwooley/webtorrent,dan-hill/webtorrent,sideffect0/webtorrent,yciabaud/webtorrent,rom1504/webtorrent,solderzzc/webtorrent,serafinfernandez/webtorrent,joshterrill/webtorrent,ngjermundshaug/webtorrent,madmarks/webtorrent,rozifus/webtorrent,feross/webtorrent,karissa/webtorrent,dan-hill/webtorrent,gillesdemey/webtorrent,madmarks/webtorrent,beni55/webtorrent,joshterrill/webtorrent,LinusU/webtorrent,ericwooley/webtorrent,LinusU/webtorrent