task4 - javascript