js file updated

edited call script method