updating to work with jsDAV