small change in JS