A Javascript Universal Module to build reusable validation patterns