Improve tasks for js watch