Project 2 CISC 474 Javascript