JS data validator for node.js