Please feel sorry for yourself and start to use Linux or Mac box.
Mac and Linux users you can convert all source files at once with dos2unix.
To install dos2unix,
sudo port install dos2unix
or if you are below average mac dev
brew install dos2unix
linux users could find their own ways o/
as you jump from chapter to chapter run this under /app dir
for js in *.js; do dos2unix -c mac ${js}; done;