A simple validator for your web applications. Forked from Sofish's validator.js