Updates to use admin-ajax.php instead of JSON API plugin