redoing the first assignment
first assignment web.js alteration