Fix timeout comparins von locks

The timeout value is in seconds, javascript uses
miliseconds. Upstream isssue is
https://github.com/mikedeboer/jsDAV/issues/82