Compared to Vector, Monobook, the fallback and API skins and most other skins, Mobile has the footer in a different order.
On desktop:
- jQuery.ready
- mw.loader.state
- mw.loader.load
- mw.config.set({"wgBackendResponseTime ..
On mobile:
- mw.config.set({"wgBackendResponseTime ..
- jQuery.ready
- mw.loader.state
- mw.loader.load
It should swap data['reporttime'] and data['bottomscripts']. Or perhaps use the printTrail() from BaseTemplate class which does this automatically (instead of hardcoding).