[bug981352] - Moved inline togetherJSConfig script into separate file

[bug981352] - Removed the closure, added jslint unparam

[bug981352] - Added JSHint unused

[bug981352] - Fixed JSHint
Merge pull request #489 from admix/bug981352

[bug981352] - Moved inline togetherJSConfig script into separate file