modify js HW3