Removed jscript api call