updated js files to use 2 spaces instead of 4