nice little maxlength limiter & character warning

should constrain input in older browsers too