Update chapter2.js