add js based on jquery to show message length