Clean up js and add event tracking for home clicks