watch file js