Expose internal validator.js

Ref #19