Going from php to javascript

Totally changing design and functionality. Going from old messy php to
modern javascript/jQuery.