javascript exercise 1