js: limits the number of characters in textarea