rearrange function definitions to fix jshint
rearrange function definitions to fix jshint

NickCarneiro/curlconverter,NickCarneiro/curlconverter,NickCarneiro/curlconverter,NickCarneiro/curlconverter,NickCarneiro/curlconverter,NickCarneiro/curlconverter,NickCarneiro/curlconverter,NickCarneiro/curlconverter,NickCarneiro/curlconverter