- [ ] Add exception handling to these `Liferay.Service()` calls.
- [ ] Rename `checkWords` to `checkSpellingService`
```js
var checkSpellingService = function(text, callbackSuccess, callbackException) {
	Liferay.Service(
		'/words-web.words/check-spelling',
		{
			text: text
		},
		callbackSuccess,
		callbackException
	);
};
...
var onCheckWordsException = function(exception) {
	var instance = this;

	if (exception.indexOf('check-spelling') !== -1) {
		A.log('liferayspellchecker requires the Words JSON Web Service Servlet to be deployed.', 'error');
	}
	else {
		A.log('liferayspellchecker failed with exception: ' + exception, 'error');
	}

	instance._editorConfig.destroy();
};
```