Add newlines to js, force encoding