Oh man okay I remember some jquery
Slight JS cleanup