Update directives.js reference.