Test task Javascript