Update file structure for directives.js