add support for .editorconfig, .jsbeautifyrc and .jshintrc to provide identical jshint, spaces, endline, etc. configuration for contributing programmers
changes in this commit include
- replacing a mixture of single and double quotes, with the preferred single quote based on said .jshintrc rules
- fixing a fad of typos; it's => its (posessive) ...
- lots of jshint issues, mixture of tabs and spaces, missing semicolons, added curly braces, nested function definitions ...
- backwards compatibility aware change for the bus system. although Busses is correct, it's old english. Buses with a 'single s' is more correct. busses as well as buses is an accepted query string parameter, depending on what var you used, the response will use the same.
- all js files AND .gitignore now have a newline, if all files didn't have newlines you couldn't do stuff like
   echo 'some-new-file' >> .gitignore wouldn't work. It's just been a preference to have EOL always and is defined in .jshintrc
added EOL