Compleated js exercise 11