completed ch2 review of js