watch.js: bugfix