New version of offline.js