word analytics JavaScript solution added