A lightweight javascript library to write validations