adding my comments and js work

working on calling some of the functions