offline.js added