Removing unnecessary change from js file