Adding a lot of JavaScript functionality to the site.

Makes the site look usable.