Javascript text analyzer tool