Updating jscript call to match jscript functions.