Update grid-directives.js