Create doc-validator.js