javascript performance: chapter3 dom