Refactoring settings JS
Chrome apps do not like inline JavaScript within HTML.  Include initialization inside settings.js.
Commit rest of refactoring.  Settings page is still broken.
Fix curlies.
Fixed missing prototype and incorrect document reference.
Finished configuration page.
Refactoring.