Fix inline JS line endings