Add js char couter