changes for js file