Tweak to loading pattern for jQuery and Bootstrap