Added more AJAX functionality.

Yay Drupal's esoteric AJAX functionality. Gonna Monte Carlo this
shit until it magically starts working, while staying up all night
with my bros, brogramming, drinking beer, eating pizza and watching
football. :brofist: I'm such a fucking awesome brogrammer.