Exchange detail screen no longer displays unless data exists for the selected exchange.

Now when the selected exchange’s status read “Loading…” or “Error…” the
exchange detail screen isn’t displayed as the data for that exchange
doesn’t exist.
Cleaned up JavaScript code.

I removed some of the old cruft from the JavaScript code. Namely the
messaging functions that I am no longer using (the current messaging
function seems to work pretty well).