made changes to the insights view and accompanying javascript