Updates JS to exclusively use AJAX requests.