Append newline to JS output files