Adding carriage return fix that is required for termJs