Moved JS to the bottom to make page load faster; left comments about anti-patterns
Moved JS