add a basic JS test for character count before implementing