Shuffle config structure, add trailing newline to js file.