rudimentary ajax formatting complete