js functions updated
hw updated