JavaScript Code for Text Correction

Job ID: 38390412

Budget: $10 – $30 USD

I'm in need of a JavaScript code that will check for and correct spacing issues after periods in a text. Specifically, the code should ensure there's only one space after each period.

Moreover, the code should be able to:
- Correct each spacing error it finds one by one
- Have the option to correct all errors at once

In addition, the code should:
- Always capitalize the word "veteran" wherever it appears in the text

Key Requirements:
- Utilize the JavaScript programming language
- Correct spacing issues after all punctuation marks, not just periods
- Include the option to either correct errors one by one or all at once
- Ensure the word "veteran" is capitalized wherever it appears

I'm looking to complete this project within a month so a timely delivery is essential. Ideal candidates should have prior experience with similar text processing tasks and be comfortable working with JavaScript.
Related categories: JavaScript Python CSS HTML5 jQuery / Prototype