Better API utils (wrapper around $.ajax)