Finished first JS section of AJAX