limit string length via JS now that maxlengthis gone