deletes unused directives.js file