Make the loading spinner toggle more explicit
Occasionally the loading spinner would stay visible after the tab
finished loading. This change makes the toggle explicit so that it's
always shown on beforeSend
, and always hidden on complete
.
Plus a bonus semi-colon eradication!