watch for add and remove assets, and for js files