Merge pull request #1 from sourcejs/master

Pull from sourcejs
Fix for windows environment.

Because of backslashes in windows urls to files were not created. Simple string manipulation fixed the issue.
Merge pull request #19 from Serge-Z/master

Fix urls for windows environment.