Added skeletton for chap3 in main.js.