Fixes for missing files on offline.js