JavaScript doesn't work on Chrome 58 on Android in offline mode
Chrome offline pages do not support JavaScript.. You won't be able to get it to work in an offline page.. Maybe there are other browsers who do support JavaScript but I'm not sure.