adding validator as node dependency