Updated changes for the JS file