Use throwError helper and minor formatting fix

Added a space after the first sentence.
Merge pull request #1748 from paulfalgout/normalize-behavior-error

Use throwError helper and minor formatting fix
Add helpers jsdoc