This would be terrible from a performance perspective on mobile. Not because the phone executes JS slowly (it might, but that's not issue). The problem is the network latency around downloading the initial html (whatever little html you need) and then sending a further request to download the JS.
Pagespeed goes into this a bit here: https://developers.google.com/speed/docs/insights/Prioritize...