A simple JavaScript Validation Engine