Swapped out my offline mode implementation for offline.js