minor change in js