small change in js call