I'm not sure there's a need for this whole block. You can safely call `.removeClass(blockedBG)` in both instances without it (worst case is that nothing happens).