changes on Mac. more js files