Completed comments on js script to generate page