A minimalist JavaScript rule based input validation module which allows multiple rules for fields