Show Your Work: Don’t forget ‘loading’ indicators
Here's a very simple catch-all JS snippet I have laying around for web stuff, assuming you're AJAXing stuff in (and using jquery).
$(document).on({ ajaxStart: function() { /* code */ }, ajaxStop: function() { /* more code */ } });