1.Updated the js file