[JS] fixed median calculation for ranges
[JS] Updated bf js release