Fix in js