added watch for added/removed javascripts