Fix length calculation for Mac new lines /r/n

The count is incorrect when entering new lines in a textarea on a Mac.  Each new line should count as 2 characters, but jQuery's .length counts /r/n as 1 character.