Just use stock jsDAV, it's never going to work on Windows: