minor changes in js files