spacing on js files

resolving issues between tabs and spaces in 3 files.