[bug981352] - Moved inline togetherJSConfig script into separate file

-> https://bugzilla.mozilla.org/show_bug.cgi?id=981352