Fixed aforementioned broken ajax. Should now be functional, though the styling still needs to be addressed.