Added character count js.