Minor fix for js target.