Changing object file insertiong back to AJAX.