Create offline.js