Chapter 6. Advanced Topics and Pitfalls in JavaScript