Minor change in js