Delete directive.js