A javascript tool for market research