chapter 1 JavaScript