Factor out some common logic between fdesc and desc
Factor out some common logic between fdesc and desc

seanparmelee/jasmine,leahciMic/jasmine,Contagious06/jasmine,James-Dunn/jasmine,negherbon/jasmine,yy8597/jasmine,kyroskoh/jasmine,Muktesh01/jasmine,martinma4/jasmine,xolvio/jasmine,faizalpribadi/jasmine,martinma4/jasmine,SimenB/jasmine,kidaa/jasmine,Muktesh01/jasmine,morsdyce/jasmine,kalins/samples-javascript.jasmine,aaron-goshine/jasmine,caravenase/jasmine,danielalexiuc/jasmine,leahciMic/jasmine,rlugojr/jasmine,morsdyce/jasmine,kalins/samples-javascript.jasmine,yy8597/jasmine,caravena-nisum-com/jasmine,IveWong/jasmine,Sanjo/jasmine,GerHobbelt/jasmine,paulcbetts/jasmine,WY08271/jasmine,antialias/jasmine,paulcbetts/jasmine,seanparmelee/jasmine,aaron-goshine/jasmine,denisKaranja/jasmine,marcioj/jasmine,morsdyce/jasmine,danielalexiuc/jasmine,deborahleehamel/jasmine,paulcbetts/jasmine,IveWong/jasmine,deborahleehamel/jasmine,yy8597/jasmine,Muktesh01/jasmine,negherbon/jasmine,denisKaranja/jasmine,wongterrencew/jasmine,songshuangkk/jasmine,caravena-nisum-com/jasmine,marcioj/jasmine,aln787/jasmine,imshibaji/jasmine,IveWong/jasmine,deborahleehamel/jasmine,Contagious06/jasmine,mashroomxl/jasmine,mashroomxl/jasmine,Contagious06/jasmine,IveWong/jasmine,kyroskoh/jasmine,danielalexiuc/jasmine,antialias/jasmine,SimenB/jasmine,denisKaranja/jasmine,yy8597/jasmine,yy8597/jasmine,jnayoub/jasmine,rlugojr/jasmine,antialias/jasmine,leahciMic/jasmine,caravenase/jasmine,qiangyee/jasmine,mashroomxl/jasmine,faizalpribadi/jasmine,imshibaji/jasmine,Jahred/jasmine,aln787/jasmine,xolvio/jasmine,James-Dunn/jasmine,aln787/jasmine,rlugojr/jasmine,kalins/samples-javascript.jasmine,SimenB/jasmine,marcioj/jasmine,James-Dunn/jasmine,WY08271/jasmine,xolvio/jasmine,Jahred/jasmine,wongterrencew/jasmine,mashroomxl/jasmine,morsdyce/jasmine,Sanjo/jasmine,imshibaji/jasmine,WY08271/jasmine,rlugojr/jasmine,Contagious06/jasmine,leahciMic/jasmine,soycode/jasmine,tsaikd/jasmine,IveWong/jasmine,James-Dunn/jasmine,GerHobbelt/jasmine,WY08271/jasmine,danielalexiuc/jasmine,aaron-goshine/jasmine,jnayoub/jasmine,faizalpribadi/jasmine,Contagious06/jasmine,faizalpribadi/jasmine,tsaikd/jasmine,caravena-nisum-com/jasmine,qiangyee/jasmine,aln787/jasmine,Sanjo/jasmine,WY08271/jasmine,Muktesh01/jasmine,soycode/jasmine,danielalexiuc/jasmine,suvarnaraju/jasmine,negherbon/jasmine,morsdyce/jasmine,jnayoub/jasmine,antialias/jasmine,Sanjo/jasmine,rlugojr/jasmine,soycode/jasmine,deborahleehamel/jasmine,imshibaji/jasmine,martinma4/jasmine,marcioj/jasmine,songshuangkk/jasmine,songshuangkk/jasmine,soycode/jasmine,martinma4/jasmine,SimenB/jasmine,denisKaranja/jasmine,aln787/jasmine,leahciMic/jasmine,kidaa/jasmine,wongterrencew/jasmine,JoseRoman/jasmine,kalins/samples-javascript.jasmine,mashroomxl/jasmine,seanlin816/jasmine,caravenase/jasmine,GerHobbelt/jasmine,songshuangkk/jasmine,Jahred/jasmine,Jahred/jasmine,caravenase/jasmine,seanparmelee/jasmine,xolvio/jasmine,qiangyee/jasmine,wongterrencew/jasmine,antialias/jasmine,tsaikd/jasmine,kidaa/jasmine,kyroskoh/jasmine,jnayoub/jasmine,tsaikd/jasmine,caravenase/jasmine,tsaikd/jasmine,songshuangkk/jasmine,suvarnaraju/jasmine,GerHobbelt/jasmine,aaron-goshine/jasmine,deborahleehamel/jasmine,imshibaji/jasmine,kyroskoh/jasmine,qiangyee/jasmine,wongterrencew/jasmine,caravena-nisum-com/jasmine,qiangyee/jasmine,xolvio/jasmine,Jahred/jasmine,jnayoub/jasmine,negherbon/jasmine,martinma4/jasmine,aaron-goshine/jasmine,JoseRoman/jasmine,seanparmelee/jasmine,GerHobbelt/jasmine,negherbon/jasmine,paulcbetts/jasmine,denisKaranja/jasmine,JoseRoman/jasmine,seanlin816/jasmine,seanparmelee/jasmine,suvarnaraju/jasmine,caravena-nisum-com/jasmine,seanlin816/jasmine,paulcbetts/jasmine,JoseRoman/jasmine,seanlin816/jasmine,faizalpribadi/jasmine,SimenB/jasmine,JoseRoman/jasmine,kalins/samples-javascript.jasmine,seanlin816/jasmine,James-Dunn/jasmine,suvarnaraju/jasmine,Sanjo/jasmine,kidaa/jasmine,Muktesh01/jasmine,soycode/jasmine,kyroskoh/jasmine,marcioj/jasmine,suvarnaraju/jasmine,kidaa/jasmine