Finishing php starting AJAX
Adding JS