Made different changes to js file