Fix validator for nodejs for now