Fix logic for computing Content-Length header in static.js when requests have range header
Fix logic for computing Content-Length header in static.js when requests have range header

lian774739140/connect,llwanghong/connect,RoseTHERESA/connect,behind2/connect,austincitylimits/connect,dkfiresky/connect,gtomitsuka/connect,mi2oon/connect,chinazhaghai/connect,qitianchan/connect,RickyDan/connect,khalerc/connect,tanveer12332/connect,khirayama/connect,wghust/connect,brianloveswords/connect,keenwon/connect,senchalabs/connect,mi2oon/connect,davehorton/drachtio,liuwei9413/connect