It kinda works now, just the full AJAX stuff left to do