fixed JS watcher reference