JavaScript part 2 - all homeworks