Added getOperatorList to api.js