example of JS plus Jquery from lesson 27