JavaScript linting.
Error catching for remote dialogs.