moved offline.js