javascript zadacha