Finished AJAX Output

Needs to be heavily improved but my head hurts.

Removed useless error_log