Corrected error in calculating stop orders subtotal in JS.