Add API method to JS (munge to get shard list)