fixed newline issue in grader.js with fromdos