Why should you avoid global variables in JavaScript?

Why should you avoid global variables in JavaScript?