Changing from Vanilla JS & AJAX to jQuery & AJAX