Got AJAX working, going to bed

Still need to get partial page written, data loaded from Stats function,
and test to make sure any of it even works!