jquery exercise 2.3 completed with minor logic change