Hook
Hook copied to clipboard
progressive enhancement
Great functionality. I would just suggest that you inject the #hook div instead of hardcoding empty divs in your html markup.
Simple implementation, as is:
$('body').prepend('<div class="hook" id="hook"><div class="hook-loader"><div class="hook-spinner"></div></div></div>').find('#hook').hook();