Reorganized, added settings.js

Reorganized all JavaScript files into the js directory. Added a settings.js file. Moved API keys into settings.js. Ran JS Lint. Removed some lint.