Fix JS dependency