added js to watcher