provided comments for  directives.js