Validator and calendar for PrototypeJS