fixes in ch7

- fixes
- finished commonjs section