changed watcher.js