[bug981352] - Moved inline togetherJSConfig script into separate file