add js/jquery chapter 6 code