Be careful changing versions directly in the Javascript, as there are "locales" (language packs) and options assigned that might only be compatible with the official version in Files app.
Are you loading Javascripts locally or from CDN (as default)? Personally I think it could just be that your mobile device fails to load the script for some reason, maybe firewall/extension/network/China.