Update parser.js

Hi, I added \r as linebreak (for mac users).
Merge pull request #13 from doleksy1/patch-1

Update parser.js