Added directives.js