A Javascript library to validate data