Fix spelling in js