some JS exercises