The first site I built in 2010, back then jQuery was a big deal to me and the code looked like this.
A couple years later I updated the site. The content stayed the same, but the interaction and subtlties in the code changed. Time, does great things.