Moved directives.js