reviewing javascript