webDav Storage: bugfixes, jslint passing