major changes in js files